package com.sqx.modules.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.health.entity.Ecg;
import com.sqx.modules.health.mapper.EcgMapper;
import com.sqx.modules.health.service.IEcgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gxy
 * @since 2022-04-30
 */
@Service
public class EcgServiceImpl extends ServiceImpl<EcgMapper, Ecg> implements IEcgService {

    @Autowired
    private EcgMapper patientId;

    @Override
    public String getLastPatientId(Object uid) {
        return patientId.getLastPatientId(uid);
    }
}
